All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.naming.directory.AttributeModificationException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.naming.NamingException
                           |
                           +----java.naming.directory.DSException
                                   |
                                   +----java.naming.directory.AttributeModificationException

public class AttributeModificationException
extends DSException
AttributeModificationException is raised when an attempt is made to add to an attribute a value that conflicts with the syntax of the attribute.


Constructor Index

 o AttributeModificationException()
Constructs a new instance of AttributeModificationException.
 o AttributeModificationException(Name, Object, Name)
Constructs a new instance of AttributeModificationException using the arguments supplied.
 o AttributeModificationException(Name, Object, Name, String)
Constructs a new instance of AttributeModificationException using the arguments supplied.
 o AttributeModificationException(String)
Constructs a new instance of AttributeModificationException using the arguments supplied.

Method Index

 o getUnexecutedModifications()
Retrieves the unexecuted modification list.
 o setUnexecutedModifications(ModificationEnumeration)
Sets the unexecuted modification list to be e.
 o toString()
The string representation of this exception consists of information about where the error occurred, and the first unexecuted modification.

Constructors

 o AttributeModificationException
 public AttributeModificationException(Name resolvedName,
                                       Object resolvedObj,
                                       Name remainingName,
                                       String explanation)
Constructs a new instance of AttributeModificationException using the arguments supplied.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
explanation - Additional detail about this exception.
 o AttributeModificationException
 public AttributeModificationException(Name resolvedName,
                                       Object resolvedObj,
                                       Name remainingName)
Constructs a new instance of AttributeModificationException using the arguments supplied.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
 o AttributeModificationException
 public AttributeModificationException(String explanation)
Constructs a new instance of AttributeModificationException using the arguments supplied.

Parameters:
explanation - Additional detail about this exception.
 o AttributeModificationException
 public AttributeModificationException()
Constructs a new instance of AttributeModificationException.

Methods

 o setUnexecutedModifications
 public void setUnexecutedModifications(ModificationEnumeration e)
Sets the unexecuted modification list to be e.

Parameters:
e - The list of unexecuted modifications.
 o getUnexecutedModifications
 public ModificationEnumeration getUnexecutedModifications()
Retrieves the unexecuted modification list.

Returns:
The unexecuted modification list.
 o toString
 public String toString()
The string representation of this exception consists of information about where the error occurred, and the first unexecuted modification.

Returns:
The string representation of this exception.
Overrides:
toString in class NamingException

All Packages  Class Hierarchy  This Package  Previous  Next  Index